Cocktail Help Reference
FindAsync Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > Repository<T> Class : FindAsync Method



Glossary Item Box

Retrieves one or more entities matching the provided expression with the repository's default query strategy.

Overload List

OverloadDescription
FindAsync(Expression<Func<T,Boolean>>,Func<IQueryable<T>,IOrderedQueryable<T>>,Action<IFetchOptions<T>>)Retrieves one or more entities matching the provided expression with the repository's default query strategy.  
FindAsync(Expression<Func<T,Boolean>>,CancellationToken,Func<IQueryable<T>,IOrderedQueryable<T>>,Action<IFetchOptions<T>>)Retrieves one or more entities matching the provided expression with the repository's default query strategy.  
FindAsync<TResult>(Func<IQueryable<T>,IQueryable<TResult>>,Expression<Func<T,Boolean>>,Func<IQueryable<TResult>,IOrderedQueryable<TResult>>,Action<IFetchOptions<TResult>>)Retrieves one or more entities matching the provided expression from the back-end data source and projects the results into a different shape using the selector parameter.  
FindAsync<TResult>(Func<IQueryable<T>,IQueryable<TResult>>,CancellationToken,Expression<Func<T,Boolean>>,Func<IQueryable<TResult>,IOrderedQueryable<TResult>>,Action<IFetchOptions<TResult>>)Retrieves one or more entities matching the provided expression with the repository's default query strategy and projects the results into a different shape using the selector parameter.  
FindAsync(Func<IQueryable<T>,IQueryable>,Expression<Func<T,Boolean>>,Func<IQueryable,IOrderedQueryable>,Action<IFetchOptions>)Retrieves one or more entities matching the provided expression with the repository's default query strategy and projects the results into a different shape using the selector parameter.  
FindAsync(Func<IQueryable<T>,IQueryable>,CancellationToken,Expression<Func<T,Boolean>>,Func<IQueryable,IOrderedQueryable>,Action<IFetchOptions>)Retrieves one or more entities matching the provided expression with the repository's default query strategy and projects the results into a different shape using the selector parameter.  

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.